﻿@model Easy.Web.CMS.Setting.ApplicationSetting
@{
    Script.Reqiured("validate").AtFoot();
}
<div class="panel panel-default">
    <div class="panel-heading">
        编辑
    </div>
    <div class="panel-body">
        @using (Html.BeginForm())
        {
            @Html.EditorForModel()
            <div class="toolBar">
                <input type="submit" class="btn btn-primary" value="保存" data-value="@ActionType.Update"/>
                <input type="button" class="btn btn-default cancel" value="取消"/>
            </div>
        }
    </div>
</div>
@using (Script.AtFoot())
{
    <script type="text/javascript">
        $(function() {
            $("#SettingKey").attr("readonly", "readonly");
        });
    </script>
}